permutation with resriction

welcome to shbcf.ru